package cn.wolfcode.trip.base.mapper;


import cn.wolfcode.trip.base.domain.IntegralStore;
import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface IntegralStoreMapper {
    List<IntegralStore> selectAll();

    List<IntegralStore> queryForList(QueryObject qo);

    IntegralStore selectOne(Long id);

    void insertRelation(@Param("userId") Long userId, @Param("productId") Long productId);

    List<IntegralStore> selectProductByUserId(Long userId);
}